home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
windownt
/
mapmem.zip
/
MAPMEM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-24
|
521b
|
23 lines
#include "devioctl.h"
//
// Define our own private IOCTL
//
#define IOCTL_MAPMEM_MAP_USER_PHYSICAL_MEMORY \
CTL_CODE(FILE_DEVICE_UNKNOWN, 0xeeee, METHOD_BUFFERED, FILE_ANY_ACCESS)
//
// Our user mode app will pass an initialized structure like this
// down to the kernel mode driver
//
typedef struct
{
INTERFACE_TYPE interfaceType;
ULONG busNumber;
PHYSICAL_ADDRESS physicalAddress;
ULONG length;
} PHYSICAL_MEMORY_INFO, *PPHYSICAL_MEMORY_INFO;